Release 10.1A: OpenEdge Development:
Programming Interfaces
Error handling
Any of the methods listed above may fail, but this will not normally cause the Progress error status to be raised. Instead, the method will return
FALSEif that is appropriate. Also, the parsing may encounter errors that do not cause the operation as a whole to fail. So instead of testing forERROR-STATUS:ERRORafter running a method withNO-ERROR, you should test forERROR-STATUS:NUM-MESSAGESbeing greater than 0.Note that the DOM parser may detect errors in an input XML document even if validation is not specified in the
LOAD( )method call. Validation checks the document for conformance to a DTD, but there could be other errors, such a missing end-tag or mismatched tags. The parser will report these errors independently of validation against a DTD.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |